package com.dsteiner.xelavos.client.domain;

import java.io.Serializable;
import java.util.List;

import com.dsteiner.widgets.client.domain.BaseObject;
import com.dsteiner.widgets.client.domain.ModelObject;
import com.dsteiner.widgets.client.rpc.SearchResult;
import com.google.gwt.user.client.rpc.IsSerializable;

public class DataResult<T extends BaseObject> implements IsSerializable{

	private List<ModelObject> itemsTop;
	private List<ModelObject> itemsNew;
	private UserStats userStats;
	private SearchResult<ModelObject> searchResults;
	private SearchResult<ModelObject> myEntries;
	private SearchInfo searchInfo;

	public DataResult() {
	}

	public UserStats getUserStats() {
		return userStats;
	}
	public void setUserStats(UserStats userStats) {
		this.userStats = userStats;
	}
	public SearchResult<ModelObject> getSearchResults() {
		return searchResults;
	}

	public List<ModelObject> getItemsTop() {
		return itemsTop;
	}

	public void setItemsTop(List<ModelObject> itemsTop) {
		this.itemsTop = itemsTop;
	}

	public List<ModelObject> getItemsNew() {
		return itemsNew;
	}

	public void setItemsNew(List<ModelObject> itemsNew) {
		this.itemsNew = itemsNew;
	}

	public void setSearchResults(SearchResult<ModelObject> searchModelObjects) {
		this.searchResults = searchModelObjects;
	}

	public SearchResult<ModelObject> getMyEntries() {
		return myEntries;
	}
	public void setMyEntries(SearchResult<ModelObject> myEntries) {
		this.myEntries = myEntries;
	}

	public void setSearchInfo(SearchInfo searchInfo) {
		this.searchInfo = searchInfo;
	}
	
	public SearchInfo getSearchInfo() {
		return searchInfo;
	}

}
